package cn.xinfei.xdecision.common.model.datax.datamanage.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class VarSnapshotReqVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "变量code不能为空")
    private String varCode;
    @NotNull(message = "变量版本不能为空")
    private Long versionId;

}
